
<script>
	export default {
		data(){
			return{
				url:""
			}
		},
		onLaunch: function() {
			if(!uni.getStorageSync('token')){
					uni.reLaunch({
						url:'/pages/login/index'
					})
				}else{
					uni.switchTab({
						url:'/pages/index/index'
					})
			}
		},
		methods:{
		},
		onShow: function() {
			
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>


<style lang="less">
	.navigator-hover{
		// background-color: #fff !important;
	}
	@import './common/base.less';
</style>
